/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package GUI;

import java.awt.Dimension;
import java.awt.Toolkit;

/**
 *
 * @author Fracisco
 */

public class Pagina_Creacion_EventoW extends javax.swing.JFrame {

    /**
     * Creates new form Pagina_Principal
     */
    public Pagina_Creacion_EventoW() 
    {
        initComponents();
        
    }
    
    

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLayeredPane1 = new javax.swing.JLayeredPane();
        jLabel2 = new javax.swing.JLabel();
        jLayeredPane3 = new javax.swing.JLayeredPane();
        jLabel3 = new javax.swing.JLabel();
        jTTipo_Evento = new javax.swing.JTextField();
        jLayeredPane2 = new javax.swing.JLayeredPane();
        jLabel1 = new javax.swing.JLabel();
        jDFecha_Final = new com.toedter.calendar.JDateChooser();
        jLabel6 = new javax.swing.JLabel();
        jDFecha_Inic = new com.toedter.calendar.JDateChooser();
        jLayeredPane4 = new javax.swing.JLayeredPane();
        jLabel5 = new javax.swing.JLabel();
        jCDepartameto_Encar = new javax.swing.JComboBox();
        jLabel4 = new javax.swing.JLabel();
        jLabel9 = new javax.swing.JLabel();
        jTPersona_Encargada = new javax.swing.JTextField();
        jCZona_Encar = new javax.swing.JComboBox();
        jLabel8 = new javax.swing.JLabel();
        jTNombre_Evento = new javax.swing.JTextField();
        jBRegresar = new javax.swing.JButton();
        jBAceptar = new javax.swing.JButton();
        jLabel7 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Pagina de Creacion de Evento");

        jLabel2.setBackground(new java.awt.Color(255, 255, 255));
        jLabel2.setForeground(new java.awt.Color(255, 255, 255));
        jLabel2.setBounds(0, 0, 120, 120);
        jLayeredPane1.add(jLabel2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLayeredPane3.setBorder(javax.swing.BorderFactory.createTitledBorder("Informacion del Evento"));

        jLabel3.setText("Nombre del Evento:");
        jLabel3.setBounds(50, 20, 95, 20);
        jLayeredPane3.add(jLabel3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jTTipo_Evento.setName("jTNombre_Evento");
        jTTipo_Evento.setBounds(150, 50, 180, 20);
        jLayeredPane3.add(jTTipo_Evento, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLayeredPane2.setBorder(javax.swing.BorderFactory.createTitledBorder("Fechas de Realizacion"));

        jLabel1.setText("Fecha Final:");
        jLabel1.setToolTipText("");
        jLabel1.setBounds(60, 50, 60, 20);
        jLayeredPane2.add(jLabel1, javax.swing.JLayeredPane.DEFAULT_LAYER);
        jDFecha_Final.setBounds(140, 50, 180, 20);
        jLayeredPane2.add(jDFecha_Final, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel6.setText("Fecha Inicio:");
        jLabel6.setToolTipText("");
        jLabel6.setBounds(60, 20, 70, 20);
        jLayeredPane2.add(jLabel6, javax.swing.JLayeredPane.DEFAULT_LAYER);
        jDFecha_Inic.setBounds(140, 20, 180, 20);
        jLayeredPane2.add(jDFecha_Inic, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLayeredPane2.setBounds(20, 240, 420, 90);
        jLayeredPane3.add(jLayeredPane2, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLayeredPane4.setBorder(javax.swing.BorderFactory.createTitledBorder("Informacion del Encargado"));

        jLabel5.setText("Zona encargada:");
        jLabel5.setBounds(60, 90, 82, 20);
        jLayeredPane4.add(jLabel5, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jCDepartameto_Encar.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Pastoral", "Servicio Tecnico", "Educacion", "Coordinador", "Radio", "Sostenibilidad" }));
        jCDepartameto_Encar.setBounds(150, 60, 120, 20);
        jLayeredPane4.add(jCDepartameto_Encar, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel4.setText("Persona Encargada:");
        jLabel4.setBounds(50, 30, 97, 20);
        jLayeredPane4.add(jLabel4, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel9.setText("Departamento Encargado:");
        jLabel9.setBounds(20, 60, 127, 20);
        jLayeredPane4.add(jLabel9, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jTPersona_Encargada.setName("jTPersona Encargada");
        jTPersona_Encargada.setBounds(150, 30, 180, 20);
        jLayeredPane4.add(jTPersona_Encargada, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jCZona_Encar.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Zulia", "Caracas", "Lara - Llano", "Andes", "Guayana", "Oficina Nacional" }));
        jCZona_Encar.setBounds(150, 90, 120, 20);
        jLayeredPane4.add(jCZona_Encar, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLayeredPane4.setBounds(20, 100, 400, 130);
        jLayeredPane3.add(jLayeredPane4, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLabel8.setText("Tipo de Evento:");
        jLabel8.setBounds(70, 50, 76, 20);
        jLayeredPane3.add(jLabel8, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jTNombre_Evento.setName("jTNombre_Evento");
        jTNombre_Evento.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTNombre_EventoActionPerformed(evt);
            }
        });
        jTNombre_Evento.setBounds(150, 20, 180, 20);
        jLayeredPane3.add(jTNombre_Evento, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jLayeredPane3.setBounds(20, 140, 540, 340);
        jLayeredPane1.add(jLayeredPane3, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jBRegresar.setText("Regresar");
        jBRegresar.setName("jBregresar");
        jBRegresar.setBounds(460, 490, 80, 23);
        jLayeredPane1.add(jBRegresar, javax.swing.JLayeredPane.DEFAULT_LAYER);
        jBRegresar.getAccessibleContext().setAccessibleName("jBregresar");

        jBAceptar.setText("Aceptar");
        jBAceptar.setName("jBAceptar");
        jBAceptar.setBounds(370, 490, 71, 23);
        jLayeredPane1.add(jBAceptar, javax.swing.JLayeredPane.DEFAULT_LAYER);
        jBAceptar.getAccessibleContext().setAccessibleName("jBaceptar");

        jLabel7.setBackground(new java.awt.Color(255, 255, 255));
        jLabel7.setBounds(100, 0, 480, 120);
        jLayeredPane1.add(jLabel7, javax.swing.JLayeredPane.DEFAULT_LAYER);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addGap(0, 0, Short.MAX_VALUE)
                .addComponent(jLayeredPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 578, javax.swing.GroupLayout.PREFERRED_SIZE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLayeredPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 525, javax.swing.GroupLayout.PREFERRED_SIZE)
        );

        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-594)/2, (screenSize.height-563)/2, 594, 563);
    }// </editor-fold>//GEN-END:initComponents

    private void jTNombre_EventoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTNombre_EventoActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jTNombre_EventoActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /*
         * Set the Nimbus look and feel
         */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /*
         * If Nimbus (introduced in Java SE 6) is not available, stay with the
         * default look and feel. For details see
         * http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(Pagina_Creacion_EventoW.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(Pagina_Creacion_EventoW.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(Pagina_Creacion_EventoW.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(Pagina_Creacion_EventoW.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /*
         * Create and display the form
         */
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new Pagina_Creacion_EventoW().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jBAceptar;
    private javax.swing.JButton jBRegresar;
    private javax.swing.JComboBox jCDepartameto_Encar;
    private javax.swing.JComboBox jCZona_Encar;
    private com.toedter.calendar.JDateChooser jDFecha_Final;
    private com.toedter.calendar.JDateChooser jDFecha_Inic;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JLayeredPane jLayeredPane1;
    private javax.swing.JLayeredPane jLayeredPane2;
    private javax.swing.JLayeredPane jLayeredPane3;
    private javax.swing.JLayeredPane jLayeredPane4;
    private javax.swing.JTextField jTNombre_Evento;
    private javax.swing.JTextField jTPersona_Encargada;
    private javax.swing.JTextField jTTipo_Evento;
    // End of variables declaration//GEN-END:variables
}
